package com.im.service.controller;

import com.im.service.service.ImFriendService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 好友列表 前端控制器
 * </p>
 *
 * @author 刘志强
 * @since 2024-07-03
 */

@RestController
@RequestMapping("/imFriend")
@CrossOrigin
@Slf4j
@Api(tags = "IM好友相关接口")
public class ImFriendController {

    @Autowired
    private ImFriendService friendService;

//    @GetMapping("/myFriend")
//    @ApiOperation(value = "我的好友")
//    public Result<List<ImUser>> myFriend(Long userId) {
//        return friendService.myFriend(userId);
//    }

}
